#!/bin/bash

a=1000000000;

for ((c=256; c<$a; c=$c*2)) ; do
    for ((i=0; i<2; i++)) ; do
      sleep 1
      `java -Xmx2500m -jar hpc_hw2.jar $c >> results.csv`
    done
done
